/*
 * @Author: 邹涵 zouh@wizpower.com
 * @Date: 2024-06-23 15:23:08
 * @LastEditors: 邹涵 zouh@wizpower.com
 * @LastEditTime: 2024-06-25 09:38:25
 * @FilePath: \zj_front\src\api\second.js
 * @Description: 
 */
import request from "@/utils/request";
// let baseURL = "http://localhost:8080/";

// let baseUrl = 'http://10.168.1.213:8064'
// let baseUrl = 'http://10.168.1.123:8064'   //测试环境
// let baseUrl = 'http://10.168.1.222:8064'
let baseUrl = ''

// 优化目标设定保存
export function save(data) {
  return request({
    url: baseUrl+"/es/energyStorage/configuration/plan/save",
    method: "post",
    data: data || {},
  });
}

// 储能规划方案信息查询
export function selectEnergyStoragePlanScheme(data) {
  return request({
    url: baseUrl+"/es/energyStorage/configuration/selectEnergyStoragePlanScheme",
    method: "post",
    data: data || {},
  });
}

// 潮流计算结果查询
export function CLlist(data) {
  return request({
    url: baseUrl+"/es/energyStorage/configuration/selectCurrentCalculations",
    method: "post",
    data: data || {},
  });
}


// 节点规划
export function JDlist(data) {
  return request({
    url: baseUrl+"/es/eleConfigResult/planning/record/detail/list",
    method: "post",
    data: data || {},
  });
}






